#include <stdio.h>
#include <string.h>

int main(void)
{
    char buf[BUFSIZ];

    fgets(buf, sizeof(buf), stdin);
    if (strcmp(buf, "CONNECT\n") == 0) {
        fputs("OK\n", stdout);
        printf("CONNECT Received\n");
    }
}
